package com.member.service.impl;

import com.member.api.MemberService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: MemberServiceImpl
 * @Author: mingtian
 * @CreateDate: 2020/1/10 15:37
 * @Version: 1.0
 */
@RestController
public class MemberServiceImpl implements MemberService {

    @Value("${server.port}")
    private String serverPort;

    @Override
    public String getUser() {
        return "我是会员服务,端口号:" + serverPort;
    }

    @Override
    public String getUserByUserId(String userId) {
        return "我是会员服务,端口号:" + serverPort;
    }
}